package buco.integrity.typehierarchy;

import java.util.*;

public class ClassNode {
	private String className; 
	private ArrayList<ClassNode> subClasses; 
	
	public ClassNode(String clazzName) {
		this.subClasses = new ArrayList<ClassNode>(); 
		this.className = clazzName;  
	}
	
	public void addSubClass(ClassNode subClass) {
		subClasses.add(subClass);
	}
	
	public String getClassName() { 
		return this.className;
	}
	
	public List<ClassNode> getSubClasses() { 
		return subClasses;
	}
	
}
